package com.duck.communication.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SendCommentDto {
    //所评论的帖子ID
    @JsonProperty("postId")
    private Integer postId;
    //评论内容
    @JsonProperty("content")
    private String content;
    //直接父评论ID
    @JsonProperty("parentCommentId")
    private Integer parentCommentId;
    //顶级评论ID
    @JsonProperty("rootCommentId")
    private Integer rootCommentId;
}
